package com.stackfarm.fvcommon.utils;

import java.sql.Connection;

import java.sql.DriverManager;
public class DBUtil {


	public static Connection getConn() throws Exception{
		String url = "jdbc:mysql://sh-cdb-3ctxo9c6.sql.tencentcdb.com:59046/fvsymbiotic?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true";
		String username = "root";
		String password = "zjl321aa+!";
		String driver = "com.mysql.cj.jdbc.Driver";
		Class.forName(driver);
		return DriverManager.getConnection(url,username, password);
	}
}
